The MRJQuitHandler Interface The com.apple.mrj.MRJQuitHandler interface contains one method, handleQuit, which is called when the Finder requests that the application quit.
com.apple.mrj.MRJQuitHandler
handleQuit